<?php
class BackendController extends Controller
{
	public $layout = 'webroot.themes.layouts.main';
	public function actionError()
	{
		$this->layout = false;
 		$error = Yii::app()->errorHandler->error['code'];
		$this->render('error', array('error'=>$error));
	}
}